<div class="bg-light lter b-b wrapper-sm">
    <h1 class="m-n font-thin h4">北斗报表</h1>
</div>
<div class="wrapper-sm" ng-controller="BDNPExportController">
    <div class="panel panel-default">
        <div class="panel-heading font-bold">查询</div>
        <div class="panel-body">

          
            <label class="control-label pull-left m-t-xs w-xs">定位起始时间</label>

            <div class="col-md-2 col-xs-12 form-group">
                <div class="input-group input-group-sm date">
                    <input id="dataTime" name="data-time" datetimepicker plugintype="datetime" ng-model="queryTerms.startTime" placeholder="起始时间" class="form-control" type="text" />
                    <span id="opendataTime" class="input-group-addon curpoint">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>

            <label class="control-label pull-left m-t-xs w-xs">定位结束时间</label>
            <div class="col-md-2 col-xs-12 form-group">
                <div class="input-group input-group-sm date">
                    <input id="dataTimeEnd" name="data-time-end" datetimepicker plugintype="datetime" ng-model="queryTerms.endTime" placeholder="结束时间" class="form-control" type="text" />
                    <span id="opendataTimeEnd" class="input-group-addon curpoint">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
            <label class="control-label pull-left m-t-xs w-xs">车牌号</label>
            <div class="col-md-2">
                <input type="text" class="form-control input-sm" id="fa-searchz" ng-model="queryTerms.carCode" placeholder="请输入车牌号" name="carCode">
            </div>
            
            <div class="col-md-2 col-xs-12">
                <button ng-click="queryFunc()" class="btn btn-sm btn-default btn-addon" ng-class="{'disabled':querying}" ng-disabled="querying">
                    <i class="fa fa-search" ng-show="!querying"></i>
                    <i class="fa fa-spinner no-bordr" ng-show="querying" ng-class="{'fa-spin':querying}"></i>
                    <span ng-show="!querying">查询</span>
                    <span ng-show="querying">查询中...</span>
                </button>
            </div>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading">
            北斗数据列表
        </div>
        <div class="table-responsive">
            <div class="gridStyle" ui-grid="gridOptions" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{heightA}}px; min-width:1000px; min-height:395px;overflow:hidden;">
                <div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
            </div>

        </div>
        <div class="panel-body">
            <button ng-click="exportFunc()" class="pull-right-xs btn m-b-xs btn-sm btn-success btn-addon "><i class="fa fa-download"></i>导出报表</button>
        </div>
    </div>
</div>